package common.Tables;

import java.io.Serializable;
/**
 * class PsychTasksWeights.
 * represents the PsychTasksWeights table
 * @author michal
 *
 */
public class PsychTasksWeights implements Serializable,Table{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int ptwID;	//serial number
	private float currentWeight;	//current weight
	private String date;	//date

	/*
	 * getters & setters
	 */
	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getPtwID() {
		return ptwID;
	}

	public void setPtwID(int ptwID) {
		this.ptwID = ptwID;
	}	
	
	public float getCurrentWeight() {
		return currentWeight;
	}
	public void setCurrentWeight(float currentWeight) {
		this.currentWeight = currentWeight;
	}
	
	/**
	 * c-tor using fields
	 * @param date
	 * @param currentWeight
	 */
	public PsychTasksWeights(String date, float currentWeight) {
		this.date = date;		
		this.currentWeight = currentWeight;
	}
	/**
	 * default c-tor
	 */
	public PsychTasksWeights(){
		
	}
	public String toString(){
		return "date: "+date+" weight: "+currentWeight+" current:"+currentWeight;
	}
	

}
